#include <iostream>
using namespace std;
int main() {
	int a, b;
	char op;
	cin >> a >> b >> op;
	if (op == '/') {
		if (b == 0) {
			cout << "Divided by zero!";
			return 0;
		}
	}
	switch (op) {
		case'+': {
			cout << a + b;
			break;
		}
		
		case'-': {
			cout << a - b;
			break;
		}
		
		case'*': {
			cout << a*b;
			break;
		}
		
		case'/': {
			cout << a / b;
			break;
		}
		
		default: {
			cout << "Invalid operator!";
		}
	}
	return 0;
}
